package cn.janescott.weixin.controller;

import cn.janescott.weixin.bean.MetaData;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author scott
 * @date 2018/11/1
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping
    public String execute(MetaData metaData) {
        System.out.println(metaData);
        return metaData.getEchostr();
    }

}
